const mongoose = require("mongoose");
//顾客姓名 customer_name,
//会员卡号member_id,
//员工 employee_id
//预约时间 appointment_time
const customerSchema = new mongoose.Schema({
    customer_name:{
        type:String,
        required:true
    },
    member_id:{
        type:String,
        required:true
    },
    employee_id:{
        type:String,
        required:true
    },
    appointment_time:{
        type:String,
        unique:true,
        required:true
    }
});
module.exports=mongoose.model('customers',customerSchema)